﻿using DAO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public  class CourseBLL
    {
        TrainingCourseDataContext db = new TrainingCourseDataContext();
        public List<Course> GetAllCourse()
        {
            return db.Courses.ToList(); ;
        }
    }
}
